
import java.util.ArrayList;
import java.util.List;

public class Literature{
	//文献记录的关键属性
	private String title;  //文章标题
	private List<String> author=new ArrayList<String>();   //作者列表
	private String journal;  //期刊名
	private String volume;  //文件集
	private String year;  //出版年份
	private String month;  //出版月份
	private String cdrom;  //存储定位
	private String ee;  //网页版定位
	private String key;  //关键字
	private int id;  //标识id
	/*
	 * set方法给各个属性赋值
	 * get方法获取这些属性的值并且返回到调用点
	*/
	public void setTitle(String title) {
		this.title=title;
	}
	public String getTitle() {
		return this.title;
	}
	public void setAuthor(String author) {
		this.author.add(author);
	}
	public List<String> getAuthor(){
		return this.author;
	}
	public void setJournal(String journal){
		this.journal=journal;
	}
	public String getJournal(){
		return this.journal;
	}
	public void setVolume(String volume){
		this.volume=volume;
	}
	public String getVolume(){
		return this.volume;
	}
	public void setYear(String year){
		this.year=year;
	}
	public String getYear(){
		return this.year;
	}
	public void setMonth(String month){
		this.month=month;
	}
	public String getMonth(){
		return this.month;
	}
	public void setCdrom(String cdrom){
		this.cdrom=cdrom;
	}
	public String getCdrom(){
		return this.cdrom;
	}
	public void setEe(String ee){
		this.ee=ee;
	}
	public String getEe(){
		return this.ee;
	}
	public void setKey(String key) {
		this.key=key;
	}
	public String getKey() {
		return this.key;
	}
	public void setId(int id) {
		this.id=id;
	}
	public int getId() {
		return this.id;
	}
}